package com.zrrd.jt_admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanjl
 * @since 2024-06-29
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="GoodsAttrs对象", description="")
public class GoodsAttrs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "排序")
    private Integer ordered;

    @ApiModelProperty(value = "属性值")
    private String value;

    @ApiModelProperty(value = "商品类型属性名称")
    private String name;

    @ApiModelProperty(value = "默认值/选项值")
    private String defaultValue;

    @ApiModelProperty(value = "表单类型")
    private String type;


}
